package cn.stylefeng.guns.modular.tool.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * 计件工资设置
 */
@TableName("tool_install")
@Data
public class ToolInstall implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *客户id
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 计件类型
     */
    @TableField("price_type")
    private String priceType;

    /**
     * 组合数量方式
     */
    @TableField("goods_mode")
    private String goodsMode;

    /**
     * 组合数量1
     */
    @TableField("g_num")
    private String gNum;

    /**
     * 组合数量2
     */
    @TableField("g_num2")
    private String gNum2;

    /**
     * 单量方式
     */
    @TableField("order_mode")
    private String orderMode;

    /**
     * 单量1
     */
    @TableField("o_num")
    private String oNum;

    /**
     * 单量2
     */
    @TableField("o_num2")
    private String oNum2;

    /**
     * 单价
     */
    @TableField("price")
    private String price;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @Override
    public String toString() {
        return "ToolInstall{" +
        "id=" + id +
        ", goodsMode=" + goodsMode +
        ", gNum=" + gNum +
        ", gNum2=" + gNum2 +
        ", orderMode=" + orderMode +
        ", oNum=" + oNum +
        ", oNum2=" + oNum2 +
        ", price=" + price +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
